package com.aaa.dao.scl;

import com.aaa.entity.scl.PlanScl;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;


/**
 * 测试计划scl(PlanScl)表数据库访问层
 *
 * @author makejava
 * @since 2022-08-30 21:17:58
 */
public interface PlanSclDao {
    /**
     * @create by: Teacher马
     * @description:查讯所有 分页 排序
     * @create time:

     * @return
     */
    List<Map<String,Object>> queryAllPlanSclPage(PlanScl planScl);

    /**
     * @create by: Teacher马
     * @description:添加
     * @create time:

     * @return
     */
    boolean savePlanScl(PlanScl PlanScl);

    /**
     * @create by: Teacher马
     * @description:根据id删除 多选删除
     * @create time:

     * @return
     */
    boolean deletePlanScl(@Param("xxx") int[] id);

    /**
     * @create by: Teacher马
     * @description:修改
     * @create time:

     * @return
     */
    boolean updatePlanScl(PlanScl planScl);
    /**
     * @param
     * @return Integer
     * @create by: feng (zhaixing@163.com)
     * @description: 查询计划是否重名
     * @create time: 2022/7/14 17:03
     */
    Integer repetitionName(PlanScl  planScl);


    List<PlanScl> queryAll();
}

